package com.sbck.cs3.MyClass;

public enum MessageType {
    None("空", 0),
    Heart("心跳", 1),
    SysPower("系统上电", 2),
    FYD("防雨顶", 3),

    FJPL("风机频率", 4),
    JRKZ("加热控制", 5),

    FireReset("焰条复位", 6),
    FireState("焰条巡检", 7),
    FireLight("焰条点火", 8),
    FWJ("方位角", 9),
    FYJZT("俯仰角", 10),

    SB("水泵", 11),
    HHF1("混合阀1", 13),
    HHF2("混合阀2", 14),
    PSF("排水阀", 15),

    YTFan("焰条风扇", 21),

    BSFS("播撒方式",22),

    WorkModeXCCY("消除臭氧",30),
    WorkModeXCWM("消除雾霾",31),
    WorkModeRGZY("人工增雨",32),

    Error("错误提示", 44),

    NoHeart("没有心跳信息", 100),

    AlarmStop("紧急停机", 99),

    NetNotConnect("Socket连接异常", 200),
    NetConnect("已连接", 201),
    HeartTimeout("心跳超时", 202),
    SendCmd("发送命令", 300);

    private int value;
    private String name;

    MessageType(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }
}
